﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FantastPlatform.Framework.Core;
using FantastPlatform.Framework.IModel;
using Newtonsoft.Json;
using FantastPlatform.Framework.Common.Serializable;

namespace FantastPlatform.Framework.Model
{
    public class EmployeeContact :Item, IEmployeeContact
    {

        #region IEmployeeContact 成员

        public virtual string Value { get; set; }

        [JsonIgnore]
        public virtual IEmployee Employee { get; set; }

        [JsonConverter(typeof(InterfaceConverter<ContactType>))]
        public virtual IContactType ContactType { get; set; }

        #endregion
    }
}
